Description
Selects all business partners where CardCode is not between 1 and 4.
Private oConds As SAPbouiCOM.Conditions
Private oCond As SAPbouiCOM.Condition
Private myCFL As SAPbouiCOM.ChooseFromList
oConds = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_Conditions)
oCond = oConds.Add
oCond.Alias = "CardCode"
oCond.Operation = SAPbouiCOM.BoConditionOperation.co_NOT_BETWEEN
oCond.CondVal = 1
oCond.CondEndVal = 4
myCFL.SetConditions(oConds) |